package com.nobug.arrange.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * @Auther: wangweilin
 * @Date: 2021/8/17 15:41
 * @Description: 教室对象
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode()
@TableName("arr_classroom")
public class ClassroomEntity implements Serializable {
    private static final long serialVersionUID = 6776336451498561235L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private BigInteger id;
    //教室编号
    @TableField("code")
    private String code;
    //教室座位数
    @TableField("number")
    private Integer number;
    //教室所在楼
    @TableField("buildingName")
    private String buildingName;
    //教室位置(门牌号）
    @TableField("address")
    private String address;

}
